package com.example.svtripsapp;






import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.TextView;

public class ShareTT extends Activity {
	
	String HOME = "https://twitter.com/home?status=Visita%20El%20Museo%20MARTE!%20http://marte.org.sv/%0A";
	WebView webView;
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.share_tt);
		
		
		webView = (WebView) findViewById(R.id.webviewtt);
		
		WebSettings webSettings = webView.getSettings();
		webSettings.setBuiltInZoomControls(true);
		webSettings.setJavaScriptEnabled(true);
		
		webView.loadUrl(HOME);
		
		/*final String mimeType = "text/html";
		final String encoding = "UTF-8";
		String html = "<h1>" + "Pagina web simple" + "</h1>" +
						"<body> <p>" + "Acceso autorizado" + "</p></body>";
		webView.loadDataWithBaseURL("", html, mimeType, encoding, "");*/
		
		//webView.loadUrl("file:///android_asset/index.html");
		/*webView.setWebViewClient(new WebViewClient(){

			@Override
			public boolean shouldOverrideUrlLoading(WebView view, String url) {
				// TODO Auto-generated method stub
				return false;
			}
		});
			*/	
			}

}
